INPUT
from date*
to date*
export type*
Pin*
 
API
viewAccountStatement()

USER STORY
To view a user's loan statement
 
CODE
validate from date is not less than the date of account creation
validate to date is not more than the today
validate date range is not more tan 6 months
validate pin
export the record to user
display success message to user